﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<%
    if (Request.IsAuthenticated) {
%>
        <li>Welcome <b><%: Page.User.Identity.Name %></b>! </li>
        <%--<li>Your are: <%:Roles.Provider.get%>  </li>--%>
		<li><b><%: Html.ActionLink("Update Information", "UpdateAccount", "Employee")%></b></li>
		<li><b><%: Html.ActionLink("Change Pass", "ChangePassword", "Account")%></b></li>
		<li><b><%: Html.ActionLink("Log Off", "LogOff", "Account")%></b></li>
<%
    }
    else {
%> 
        [ <%: Html.ActionLink("Log On", "LogOn", "Account")%> ]
<%
    }
%>
